package com.mi.system.dto.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Log query DTO
 *
 * @author jin_huaquan
 * @version 1.0
 * @date 2021/11/3 14:07
 */
@ApiModel(value = "LogQueryDTO对象", description = "日志记录查询条件")
@Data
public class LogQueryDTO {

    @ApiModelProperty(value = "查询的起始ID", dataType = "java.lang.String")
    private Long beginId;

    @ApiModelProperty("日志类型 @enum LogType[0(正常),9(错误)]")
    private Integer type;

    @ApiModelProperty("用户账号")
    private String username;

    @ApiModelProperty("日志业务类别集合")
    private List<String> serviceIds;

    @ApiModelProperty("日志标题")
    private String title;

    @ApiModelProperty("操作IP地址")
    private String remoteAddr;

    @ApiModelProperty(value = "开始时间")
    private String startDateTime;

    @ApiModelProperty(value = "结束时间")
    private String endDateTime;
}
